Skip to content

Add test for type inference of Promise/PromiseLike union bug#58213

Merged
jakebailey merged 4 commits intomicrosoft:mainfrom
jakebailey:fix-48195
Apr 19, 2024
Merged

Add test for type inference of Promise/PromiseLike union bug#58213
jakebailey merged 4 commits intomicrosoft:mainfrom
jakebailey:fix-48195

Conversation

@jakebailey
Copy link
Member

Closes #48195, which was fixed by #33074.

@jakebailey jakebailey merged commit 21f5f39 into microsoft:main Apr 19, 2024
@jakebailey jakebailey deleted the fix-48195 branch June 17, 2024 21:09
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Promise.resolve fails to infer the correct type when the argument is a union type like T | Promise<T> | PromiseLike<T>

2 participants